/**
 * VYPe11 Project
 * VYPe11 language compiler.
 * Authors: Jozef Lang (xlangj01), 
 * 			Zoltan Zemko (xzemko01)
 * 2011
 */

package cz.vutbr.fit.VYPe.team18.VYPe11.common;

public final class CommonUtils {

	private CommonUtils() {
	}
	
	public static String escapeWhitespace(String str) {
		return str.replace("\n", "\\n").replace("\t", "\\t").replace("\b", "\\b").replace("\f", "\\f").replace("\"", "\\\"");
	}
	
}
